package com.py.credit.service;

import com.py.credit.common.Page;
import com.py.credit.entity.WarningDealEntity;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public interface WarningDealService {

    List<Map<String, Object>> selectWarningDealListByConditionForPage(List<String> showColumns, String[] additionalColumns, String condition, Page page);

    LinkedHashMap selectDetailById(String id);

    int selectWarningDealDeptNum(Long deptId, String flag, String startTime, String endTime);

    List<LinkedHashMap> selectWarningDealChartTop10(String order, String startTime, String endTime);

    int addLog(WarningDealEntity warningDealEntity);

    void updateLog(int logId, String ajbh);

    void excelExport(HttpServletResponse response, String deptId, String startTime, String endTime) throws IOException;
}
